package com.yzc.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.yzc.mapper.RegisterMapper;
import com.yzc.model.entity.system.RegisterUser;
import com.yzc.service.RegisterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RegisterServiceImpl extends ServiceImpl<RegisterMapper, RegisterUser> implements RegisterService {

    @Autowired
    private RegisterMapper registerMapper;

    @Override
    public int addUser(RegisterUser user) {
        return registerMapper.addUser(user);
    }


}
